package com.manage.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("tb_member_level")
@ApiModel(value = "会员等级", description = "会员等级")
public class TbMemberLevel {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private long id;
    @ApiModelProperty("等级名称")
    private String name;
    @ApiModelProperty(value = "成长值")
    private long growthPoint;
    @ApiModelProperty(value = "是否为默认等级：0->不是；1->是")
    private long defaultStatus;
    @ApiModelProperty(value = "免运费标准")
    private double freeFreightPoint;
    @ApiModelProperty(value = "是否有评论获奖励特权")
    private long priviledgeComment;
    @ApiModelProperty(value = "是否有专享活动特权")
    private long priviledgePromotion;
    @ApiModelProperty(value = "是否有会员价格特权")
    private long priviledgeMemberPrice;
    @ApiModelProperty(value = "是否有生日特权")
    private long priviledgeBirthday;
    private String note;
    @ApiModelProperty(value = "普通1 白银1.2 黄金1.5")
    private double ratio;
//  @TableLogic
//  @ApiModelProperty(value = "逻辑删除字段")
//  private Integer logicDelete;
}
